package org.NooLab.glue.net.http.rest;

import java.util.*;
 



/**
 * 
 * 
 * 
 * 
 */
public class RestletServerFactory {

	_RestletHttpServer server;
	
	int serverPort = 8111;
	
	Vector<DomainMapping> domainMappings = new Vector<DomainMapping>(); 
 	
	
	
	public RestletServerFactory(){
		
	}
	
	public _RestletHttpServer createServer() {
		_RestletHttpServer srv = null ;
		
		srv = new _RestletHttpServer() ;
		
		// TODO apply the configuration
		   // ... ... ...
		
		//
		return srv;
	}
	
	// ------------------------------------------------------------------------

	public int getServerPort() {
		return serverPort;
	}

	public void setServerPort(int serverPort) {
		this.serverPort = serverPort;
	}

	public Vector<DomainMapping> getDomainMappings() {
		return domainMappings;
	}


	
 
}
